delete from BSM_FUNCTION_PAGE;
<#if list??>
    <#list 0..((list)?size-1) as i>
insert into BSM_FUNCTION_PAGE(organizationId,functionId,tableId,functionLevel) values('${(list)[i][0]}','${(list)[i][1]}','${(list)[i][2]}','${(list)[i][3]}');
</#list>
</#if>